#include "public_includes.h"
#include "track_base.h"
#include "clip_list.h"
#include "private_includes.h"

typedef struct _vus_track_base {
	vus_track_type type;
	char *name;
	vus_clip_list *clips;
} vus_track_base;

vus_track_type vus_track_base_get_type(vus_track_base *self) {
	assert(self != NULL);

	return self->type;
}

char *vus_track_base_get_name(vus_track_base *self) {
	assert(self != NULL);

	return self->name;
}

void vus_track_base_set_name(vus_track_base *self, char *value) {
	assert(self != NULL);

	self->name = value == NULL ? "" : value;
}

vus_clip_list *vus_track_base_clips(vus_track_base *self) {
	assert(self != NULL);

	return self->clips;
}
